﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PhotoList.aspx.cs" Inherits="Web.admin.NewsManage.Photos.PhotoList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>轮显图片</title>
    <link href="../../css/style.css" rel="stylesheet" type="text/css" />
    <script src="../../js/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="../../js/function.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="top_div">
        <div class="top_div_left" >
                <table>
                    <tr >
                        <td ><img alt="" src="../../images/main_hl.gif" /></td>
                        <td ><img alt="" src="../../images/main_hl2.gif" /></td>
                        <td class="topNav"><span>轮显管理</span></td>
                        <td><img alt="" src="../../images/main_hr.gif" /></td>
                    </tr>
                </table>
        </div>
    </div>
    <div class="middle_div">
        <div class="middle_left"></div>
        <div class="middle_middle">
            <div class="navigation"><span>首页&gt;新闻管理&gt;轮显管理</span></div>
            <div class="tools_box">
                <div id="toolbar" class="tools_bar" runat="server">
                    <a href="RoundList.aspx" class="tools_btn"><span><b class="add">轮显图片</b></span></a>
                </div>
            </div>
            <div class="content_table">
                <ul>
                    <asp:Repeater ID="Rp_Photo" runat="server" OnItemDataBound="rp_DataBind" OnItemCommand="rp_Event">
                        <ItemTemplate>
                                <li class="pho_list">
                                    <asp:HiddenField ID="hf_Id" runat="server" Value='<%#Eval("PHO_ID") %>' />
                                    <img src='../../../UploadImages/<%# Eval("PHO_URL")%>' width="300" height="200" />
                                    <asp:LinkButton  runat="server" ID="configShow" CommandName="configShow">
                                        设为轮显
                                    </asp:LinkButton>
                                    <asp:LinkButton runat="server" ID="CancelShow" CommandName = "CancelShow">
                                        取消轮显
                                    </asp:LinkButton>
                                </li>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
            </div>
        </div>
        <div class="middle_right"></div>
    </div>
    </form>
</body>
</html>
